<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Ball Balancing Plate: C:/Users/Luca/Documents/Workspaces/Workspace/BallBalancing_ChibiOSRT/ch_settings/chconf.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo.jpg"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Ball Balancing Plate
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">ChibiOS-RT servos control firmware.</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('chconf_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">C:/Users/Luca/Documents/Workspaces/Workspace/BallBalancing_ChibiOSRT/ch_settings/chconf.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="chconf_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">    ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,</span>
<a name="l00003"></a>00003 <span class="comment">                 2011,2012 Giovanni Di Sirio.</span>
<a name="l00004"></a>00004 <span class="comment"></span>
<a name="l00005"></a>00005 <span class="comment">    This file is part of ChibiOS/RT.</span>
<a name="l00006"></a>00006 <span class="comment"></span>
<a name="l00007"></a>00007 <span class="comment">    ChibiOS/RT is free software; you can redistribute it and/or modify</span>
<a name="l00008"></a>00008 <span class="comment">    it under the terms of the GNU General Public License as published by</span>
<a name="l00009"></a>00009 <span class="comment">    the Free Software Foundation; either version 3 of the License, or</span>
<a name="l00010"></a>00010 <span class="comment">    (at your option) any later version.</span>
<a name="l00011"></a>00011 <span class="comment"></span>
<a name="l00012"></a>00012 <span class="comment">    ChibiOS/RT is distributed in the hope that it will be useful,</span>
<a name="l00013"></a>00013 <span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00014"></a>00014 <span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00015"></a>00015 <span class="comment">    GNU General Public License for more details.</span>
<a name="l00016"></a>00016 <span class="comment"></span>
<a name="l00017"></a>00017 <span class="comment">    You should have received a copy of the GNU General Public License</span>
<a name="l00018"></a>00018 <span class="comment">    along with this program.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span>
<a name="l00019"></a>00019 <span class="comment">*/</span>
<a name="l00020"></a>00020 
<a name="l00032"></a>00032 <span class="preprocessor">#ifndef _CHCONF_H_</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#define _CHCONF_H_</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span>
<a name="l00035"></a>00035 <span class="comment">/*===========================================================================*/</span>
<a name="l00040"></a>00040 <span class="comment">/*===========================================================================*/</span>
<a name="l00041"></a>00041 
<a name="l00047"></a>00047 <span class="preprocessor">#if !defined(CH_FREQUENCY) || defined(__DOXYGEN__)</span>
<a name="l00048"></a><a class="code" href="group__config.html#ga195ab8ff3340a18d4513cbaf915078f2">00048</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_FREQUENCY                    1000</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>
<a name="l00062"></a>00062 <span class="preprocessor">#if !defined(CH_TIME_QUANTUM) || defined(__DOXYGEN__)</span>
<a name="l00063"></a><a class="code" href="group__config.html#ga3c6800242611cf244a38c4a870e8515a">00063</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_TIME_QUANTUM                 20</span>
<a name="l00064"></a>00064 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00065"></a>00065 <span class="preprocessor"></span>
<a name="l00077"></a>00077 <span class="preprocessor">#if !defined(CH_MEMCORE_SIZE) || defined(__DOXYGEN__)</span>
<a name="l00078"></a><a class="code" href="group__config.html#gac73902e3c40b375483f9dde71e83253d">00078</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_MEMCORE_SIZE                 0</span>
<a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00080"></a>00080 <span class="preprocessor"></span>
<a name="l00094"></a>00094 <span class="preprocessor">#if !defined(CH_NO_IDLE_THREAD) || defined(__DOXYGEN__)</span>
<a name="l00095"></a><a class="code" href="group__config.html#gac7ceed3b75958cb6f7a977aab5ee249f">00095</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_NO_IDLE_THREAD               FALSE</span>
<a name="l00096"></a>00096 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00097"></a>00097 <span class="preprocessor"></span>
<a name="l00100"></a>00100 <span class="comment">/*===========================================================================*/</span>
<a name="l00105"></a>00105 <span class="comment">/*===========================================================================*/</span>
<a name="l00106"></a>00106 
<a name="l00115"></a>00115 <span class="preprocessor">#if !defined(CH_OPTIMIZE_SPEED) || defined(__DOXYGEN__)</span>
<a name="l00116"></a><a class="code" href="group__config.html#gaa5a3d403206b04dfa43ee769e8a220c6">00116</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_OPTIMIZE_SPEED               TRUE</span>
<a name="l00117"></a>00117 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00118"></a>00118 <span class="preprocessor"></span>
<a name="l00121"></a>00121 <span class="comment">/*===========================================================================*/</span>
<a name="l00126"></a>00126 <span class="comment">/*===========================================================================*/</span>
<a name="l00127"></a>00127 
<a name="l00134"></a>00134 <span class="preprocessor">#if !defined(CH_USE_REGISTRY) || defined(__DOXYGEN__)</span>
<a name="l00135"></a><a class="code" href="group__config.html#ga881045654c5c0b04081bf89da3fe4534">00135</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_REGISTRY                 TRUE</span>
<a name="l00136"></a>00136 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00137"></a>00137 <span class="preprocessor"></span>
<a name="l00145"></a>00145 <span class="preprocessor">#if !defined(CH_USE_WAITEXIT) || defined(__DOXYGEN__)</span>
<a name="l00146"></a><a class="code" href="group__config.html#gac5e6308f66b8fdb57f0c849ed22b3d95">00146</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_WAITEXIT                 TRUE</span>
<a name="l00147"></a>00147 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00148"></a>00148 <span class="preprocessor"></span>
<a name="l00155"></a>00155 <span class="preprocessor">#if !defined(CH_USE_SEMAPHORES) || defined(__DOXYGEN__)</span>
<a name="l00156"></a><a class="code" href="group__config.html#gab88f410fdc6a67192194a8431d991b27">00156</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_SEMAPHORES               TRUE</span>
<a name="l00157"></a>00157 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00158"></a>00158 <span class="preprocessor"></span>
<a name="l00167"></a>00167 <span class="preprocessor">#if !defined(CH_USE_SEMAPHORES_PRIORITY) || defined(__DOXYGEN__)</span>
<a name="l00168"></a><a class="code" href="group__config.html#ga866568c0387963f11c078a8d939c2284">00168</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_SEMAPHORES_PRIORITY      FALSE</span>
<a name="l00169"></a>00169 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00170"></a>00170 <span class="preprocessor"></span>
<a name="l00179"></a>00179 <span class="preprocessor">#if !defined(CH_USE_SEMSW) || defined(__DOXYGEN__)</span>
<a name="l00180"></a><a class="code" href="group__config.html#gae9e6ff0fe1964761ea6e1bce51d8ee59">00180</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_SEMSW                    TRUE</span>
<a name="l00181"></a>00181 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00182"></a>00182 <span class="preprocessor"></span>
<a name="l00189"></a>00189 <span class="preprocessor">#if !defined(CH_USE_MUTEXES) || defined(__DOXYGEN__)</span>
<a name="l00190"></a><a class="code" href="group__config.html#ga4f461a7b5edbff2405b7b40d2bb238a6">00190</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_MUTEXES                  TRUE</span>
<a name="l00191"></a>00191 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00192"></a>00192 <span class="preprocessor"></span>
<a name="l00201"></a>00201 <span class="preprocessor">#if !defined(CH_USE_CONDVARS) || defined(__DOXYGEN__)</span>
<a name="l00202"></a><a class="code" href="group__config.html#ga24fd7fe539fd6094b5db3215e1721c9c">00202</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_CONDVARS                 TRUE</span>
<a name="l00203"></a>00203 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00204"></a>00204 <span class="preprocessor"></span>
<a name="l00213"></a>00213 <span class="preprocessor">#if !defined(CH_USE_CONDVARS_TIMEOUT) || defined(__DOXYGEN__)</span>
<a name="l00214"></a><a class="code" href="group__config.html#gaccc2c032c409bced696f75877e270979">00214</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_CONDVARS_TIMEOUT         TRUE</span>
<a name="l00215"></a>00215 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00216"></a>00216 <span class="preprocessor"></span>
<a name="l00223"></a>00223 <span class="preprocessor">#if !defined(CH_USE_EVENTS) || defined(__DOXYGEN__)</span>
<a name="l00224"></a><a class="code" href="group__config.html#ga5e3ac686cd33ad40a89aaaf97b3dc781">00224</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_EVENTS                   TRUE</span>
<a name="l00225"></a>00225 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00226"></a>00226 <span class="preprocessor"></span>
<a name="l00235"></a>00235 <span class="preprocessor">#if !defined(CH_USE_EVENTS_TIMEOUT) || defined(__DOXYGEN__)</span>
<a name="l00236"></a><a class="code" href="group__config.html#ga64a6ad752750f42fe2474d3e7f191a71">00236</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_EVENTS_TIMEOUT           TRUE</span>
<a name="l00237"></a>00237 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00238"></a>00238 <span class="preprocessor"></span>
<a name="l00246"></a>00246 <span class="preprocessor">#if !defined(CH_USE_MESSAGES) || defined(__DOXYGEN__)</span>
<a name="l00247"></a><a class="code" href="group__config.html#ga3823e336736d522bbfaf780c86746482">00247</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_MESSAGES                 TRUE</span>
<a name="l00248"></a>00248 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00249"></a>00249 <span class="preprocessor"></span>
<a name="l00258"></a>00258 <span class="preprocessor">#if !defined(CH_USE_MESSAGES_PRIORITY) || defined(__DOXYGEN__)</span>
<a name="l00259"></a><a class="code" href="group__config.html#gaf48947f33ed7a44a7701d84d83d94a1c">00259</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_MESSAGES_PRIORITY        FALSE</span>
<a name="l00260"></a>00260 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00261"></a>00261 <span class="preprocessor"></span>
<a name="l00270"></a>00270 <span class="preprocessor">#if !defined(CH_USE_MAILBOXES) || defined(__DOXYGEN__)</span>
<a name="l00271"></a><a class="code" href="group__config.html#ga6cf1736db681617019f96c4c209d2716">00271</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_MAILBOXES                TRUE</span>
<a name="l00272"></a>00272 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00273"></a>00273 <span class="preprocessor"></span>
<a name="l00280"></a>00280 <span class="preprocessor">#if !defined(CH_USE_QUEUES) || defined(__DOXYGEN__)</span>
<a name="l00281"></a><a class="code" href="group__config.html#gaabe4bd52d2fd1b180ebba1d1e8243051">00281</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_QUEUES                   TRUE</span>
<a name="l00282"></a>00282 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00283"></a>00283 <span class="preprocessor"></span>
<a name="l00291"></a>00291 <span class="preprocessor">#if !defined(CH_USE_MEMCORE) || defined(__DOXYGEN__)</span>
<a name="l00292"></a><a class="code" href="group__config.html#gaff85f4d919dac30a337ce2f34e2fa1af">00292</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_MEMCORE                  TRUE</span>
<a name="l00293"></a>00293 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00294"></a>00294 <span class="preprocessor"></span>
<a name="l00305"></a>00305 <span class="preprocessor">#if !defined(CH_USE_HEAP) || defined(__DOXYGEN__)</span>
<a name="l00306"></a><a class="code" href="group__config.html#gaaeb266ab6131572f1d8f164bddf2da3f">00306</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_HEAP                     TRUE</span>
<a name="l00307"></a>00307 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00308"></a>00308 <span class="preprocessor"></span>
<a name="l00319"></a>00319 <span class="preprocessor">#if !defined(CH_USE_MALLOC_HEAP) || defined(__DOXYGEN__)</span>
<a name="l00320"></a><a class="code" href="group__config.html#ga4785d390f3a787916c5a5c41e953577d">00320</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_MALLOC_HEAP              FALSE</span>
<a name="l00321"></a>00321 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00322"></a>00322 <span class="preprocessor"></span>
<a name="l00330"></a>00330 <span class="preprocessor">#if !defined(CH_USE_MEMPOOLS) || defined(__DOXYGEN__)</span>
<a name="l00331"></a><a class="code" href="group__config.html#gac456517b37f104d2226fef50310c79f8">00331</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_MEMPOOLS                 TRUE</span>
<a name="l00332"></a>00332 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00333"></a>00333 <span class="preprocessor"></span>
<a name="l00343"></a>00343 <span class="preprocessor">#if !defined(CH_USE_DYNAMIC) || defined(__DOXYGEN__)</span>
<a name="l00344"></a><a class="code" href="group__config.html#gaae4996e24bbee7d66528671cec8b8749">00344</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_USE_DYNAMIC                  TRUE</span>
<a name="l00345"></a>00345 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00346"></a>00346 <span class="preprocessor"></span>
<a name="l00349"></a>00349 <span class="comment">/*===========================================================================*/</span>
<a name="l00354"></a>00354 <span class="comment">/*===========================================================================*/</span>
<a name="l00355"></a>00355 
<a name="l00363"></a>00363 <span class="preprocessor">#if !defined(CH_DBG_SYSTEM_STATE_CHECK) || defined(__DOXYGEN__)</span>
<a name="l00364"></a><a class="code" href="group__config.html#ga10db71bc25605169dddc82c1604b0a16">00364</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_DBG_SYSTEM_STATE_CHECK       TRUE</span>
<a name="l00365"></a>00365 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00366"></a>00366 <span class="preprocessor"></span>
<a name="l00374"></a>00374 <span class="preprocessor">#if !defined(CH_DBG_ENABLE_CHECKS) || defined(__DOXYGEN__)</span>
<a name="l00375"></a><a class="code" href="group__config.html#gaef984ca3bfd8a71478ad55ce6e56a8bb">00375</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_DBG_ENABLE_CHECKS            TRUE</span>
<a name="l00376"></a>00376 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00377"></a>00377 <span class="preprocessor"></span>
<a name="l00386"></a>00386 <span class="preprocessor">#if !defined(CH_DBG_ENABLE_ASSERTS) || defined(__DOXYGEN__)</span>
<a name="l00387"></a><a class="code" href="group__config.html#gad602fd2546073869a10859158d865b9b">00387</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_DBG_ENABLE_ASSERTS           TRUE</span>
<a name="l00388"></a>00388 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00389"></a>00389 <span class="preprocessor"></span>
<a name="l00397"></a>00397 <span class="preprocessor">#if !defined(CH_DBG_ENABLE_TRACE) || defined(__DOXYGEN__)</span>
<a name="l00398"></a><a class="code" href="group__config.html#ga8bc4cfd861131aeb3c880347d0068229">00398</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_DBG_ENABLE_TRACE             TRUE</span>
<a name="l00399"></a>00399 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00400"></a>00400 <span class="preprocessor"></span>
<a name="l00411"></a>00411 <span class="preprocessor">#if !defined(CH_DBG_ENABLE_STACK_CHECK) || defined(__DOXYGEN__)</span>
<a name="l00412"></a><a class="code" href="group__config.html#gab93d9ee904f15d4f2c26ef2a1394a1d7">00412</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_DBG_ENABLE_STACK_CHECK       TRUE</span>
<a name="l00413"></a>00413 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00414"></a>00414 <span class="preprocessor"></span>
<a name="l00423"></a>00423 <span class="preprocessor">#if !defined(CH_DBG_FILL_THREADS) || defined(__DOXYGEN__)</span>
<a name="l00424"></a><a class="code" href="group__config.html#ga6a859dd249adfb66b9bbf809061ea06c">00424</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_DBG_FILL_THREADS             TRUE</span>
<a name="l00425"></a>00425 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00426"></a>00426 <span class="preprocessor"></span>
<a name="l00436"></a>00436 <span class="preprocessor">#if !defined(CH_DBG_THREADS_PROFILING) || defined(__DOXYGEN__)</span>
<a name="l00437"></a><a class="code" href="group__config.html#gadc9c00c2e5b6e766ded8dfa77c0c90c1">00437</a> <span class="preprocessor"></span><span class="preprocessor">#define CH_DBG_THREADS_PROFILING        TRUE</span>
<a name="l00438"></a>00438 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00439"></a>00439 <span class="preprocessor"></span>
<a name="l00442"></a>00442 <span class="comment">/*===========================================================================*/</span>
<a name="l00447"></a>00447 <span class="comment">/*===========================================================================*/</span>
<a name="l00448"></a>00448 
<a name="l00453"></a>00453 <span class="preprocessor">#if !defined(THREAD_EXT_FIELDS) || defined(__DOXYGEN__)</span>
<a name="l00454"></a><a class="code" href="group__config.html#gaba26fd717f33330fa56dcc7919a3f02f">00454</a> <span class="preprocessor"></span><span class="preprocessor">#define THREAD_EXT_FIELDS                                                   \</span>
<a name="l00455"></a>00455 <span class="preprocessor">  </span><span class="comment">/* Add threads custom fields here.*/</span>
<a name="l00456"></a>00456 <span class="preprocessor">#endif</span>
<a name="l00457"></a>00457 <span class="preprocessor"></span>
<a name="l00465"></a>00465 <span class="preprocessor">#if !defined(THREAD_EXT_INIT_HOOK) || defined(__DOXYGEN__)</span>
<a name="l00466"></a><a class="code" href="group__config.html#gaeb57466a9200b8c073ac96a3f1a9c34c">00466</a> <span class="preprocessor"></span><span class="preprocessor">#define THREAD_EXT_INIT_HOOK(tp) {                                          \</span>
<a name="l00467"></a>00467 <span class="preprocessor">  </span><span class="comment">/* Add threads initialization code here.*/</span>                                \
<a name="l00468"></a>00468 }
<a name="l00469"></a>00469 <span class="preprocessor">#endif</span>
<a name="l00470"></a>00470 <span class="preprocessor"></span>
<a name="l00479"></a>00479 <span class="preprocessor">#if !defined(THREAD_EXT_EXIT_HOOK) || defined(__DOXYGEN__)</span>
<a name="l00480"></a><a class="code" href="group__config.html#gab8f241a87da52027625c9cc3d8403ebb">00480</a> <span class="preprocessor"></span><span class="preprocessor">#define THREAD_EXT_EXIT_HOOK(tp) {                                          \</span>
<a name="l00481"></a>00481 <span class="preprocessor">  </span><span class="comment">/* Add threads finalization code here.*/</span>                                  \
<a name="l00482"></a>00482 }
<a name="l00483"></a>00483 <span class="preprocessor">#endif</span>
<a name="l00484"></a>00484 <span class="preprocessor"></span>
<a name="l00489"></a>00489 <span class="preprocessor">#if !defined(THREAD_CONTEXT_SWITCH_HOOK) || defined(__DOXYGEN__)</span>
<a name="l00490"></a><a class="code" href="group__config.html#gac0317ee1a14709d39aef80ca8980a40a">00490</a> <span class="preprocessor"></span><span class="preprocessor">#define THREAD_CONTEXT_SWITCH_HOOK(ntp, otp) {                              \</span>
<a name="l00491"></a>00491 <span class="preprocessor">  </span><span class="comment">/* System halt code here.*/</span>                                               \
<a name="l00492"></a>00492 }
<a name="l00493"></a>00493 <span class="preprocessor">#endif</span>
<a name="l00494"></a>00494 <span class="preprocessor"></span>
<a name="l00499"></a>00499 <span class="preprocessor">#if !defined(IDLE_LOOP_HOOK) || defined(__DOXYGEN__)</span>
<a name="l00500"></a><a class="code" href="group__config.html#gae52e2c3230a9e87d16befd547c2f92ef">00500</a> <span class="preprocessor"></span><span class="preprocessor">#define IDLE_LOOP_HOOK() {                                                  \</span>
<a name="l00501"></a>00501 <span class="preprocessor">  </span><span class="comment">/* Idle loop code here.*/</span>                                                 \
<a name="l00502"></a>00502 }
<a name="l00503"></a>00503 <span class="preprocessor">#endif</span>
<a name="l00504"></a>00504 <span class="preprocessor"></span>
<a name="l00510"></a>00510 <span class="preprocessor">#if !defined(SYSTEM_TICK_EVENT_HOOK) || defined(__DOXYGEN__)</span>
<a name="l00511"></a><a class="code" href="group__config.html#ga132e1bd495c4f7c9b92d63b26705dfe1">00511</a> <span class="preprocessor"></span><span class="preprocessor">#define SYSTEM_TICK_EVENT_HOOK() {                                          \</span>
<a name="l00512"></a>00512 <span class="preprocessor">  </span><span class="comment">/* System tick event code here.*/</span>                                         \
<a name="l00513"></a>00513 }
<a name="l00514"></a>00514 <span class="preprocessor">#endif</span>
<a name="l00515"></a>00515 <span class="preprocessor"></span>
<a name="l00521"></a>00521 <span class="preprocessor">#if !defined(SYSTEM_HALT_HOOK) || defined(__DOXYGEN__)</span>
<a name="l00522"></a><a class="code" href="group__config.html#ga71e0932757a8180816104fa313171c9a">00522</a> <span class="preprocessor"></span><span class="preprocessor">#define SYSTEM_HALT_HOOK() {                                                \</span>
<a name="l00523"></a>00523 <span class="preprocessor">  </span><span class="comment">/* System halt code here.*/</span>                                               \
<a name="l00524"></a>00524 }
<a name="l00525"></a>00525 <span class="preprocessor">#endif</span>
<a name="l00526"></a>00526 <span class="preprocessor"></span>
<a name="l00529"></a>00529 <span class="comment">/*===========================================================================*/</span>
<a name="l00530"></a>00530 <span class="comment">/* Port-specific settings (override port settings defaulted in chcore.h).    */</span>
<a name="l00531"></a>00531 <span class="comment">/*===========================================================================*/</span>
<a name="l00532"></a>00532 
<a name="l00533"></a>00533 <span class="preprocessor">#endif  </span><span class="comment">/* _CHCONF_H_ */</span>
<a name="l00534"></a>00534 
</pre></div></div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="chconf_8h.html">chconf.h</a>      </li>

    <li class="footer">Generated on Wed Jun 5 2013 12:23:45 for Ball Balancing Plate by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
